/**
 * 常量定义类
 * created by Five on 2018-11-6 11:21:56
 */

export default class Constants {
    public static PRE_EDITLAYER: string = "editLayer";
    public static PRE_SCROLLITEM: string = "scrollItem";

    public static PRE_PLAYER: string = "player";
    public static PRE_MONSTER: string = "monster";
    /**所有可摆放物件的边长 正方型 */
    public static ENTITY_EDGE: number = 64;
    // 重力常量
    public static Gravity: number = 9.8 * 15;
    // 怪物跳跃固定间隔
    public static MON_JUMPSPAN: number = 5;

    public static PRE_BULLET: string = "bullet";
    public static PRE_OBJECT: string = "object";
    public static PRE_COLLECT: string = "collect";
    public static PRE_CHAPTER: string = "chapter";
    public static PRE_GAMEEND: string = "gameEnd";
    public static PRE_OPENING: string = "opening";
    public static PRE_SPLASH: string = "splash";
    public static PRE_SETTING: string = "settings";

    // 玩家关卡记录
    public static LOC_GAMEINDEX: string = "loc_gameindex";
    // 背景音乐音量
    public static LOC_BGMVOLUME: string = "loc_bgmvolume";
    // 音效音量
    public static LOC_SFXVOLUME: string = "loc_sfxvolume";
    // 门的配表ID
    public static ASSET_DOOR: number = 20004;
    // 打开的门的配表ID
    public static ASSET_ODOOR: number = 20008;
    // 普通墙的配表ID
    public static WALL_ASSETID: number = 20001;
    // 破损的墙的配表ID
    public static BWALL_ASSETID: number = 20015;

    public static OppsiteRotate: cc.Vec3 = new cc.Vec3(0,180,0);
}

